TEC\Tickets\Commerce\Ticket C

Total Complexity 115
Dependencies 22
Dependents 21
Total lines 1,279
Lines of code 538
Logical lines of code 321
Comment lines 541
Methods 28
Properties 17

Methods 28

Method Rating Maintainability Complexity Lines of code
save()
D
26
30 150
get_ticket()
A
39 11 59
is_on_sale()
A
53 8 22
delete()
S
51 7 24
modify_counters_by_status()
S
53 6 23
get_cancelled()
S
51 5 26
get_qty_pending()
S
51 4 28
process_sale_price_dates()
S
60 5 12
get_status_quantity()
S
57 4 16
get_price_value()
S
62 4 11
increase_ticket_sales_by()
S
58 3 17
process_sale_price_data()
S
58 3 16
decrease_ticket_sales_by()
S
64 3 9
handle_moved_ticket_updates()
S
58 2 14
update_stock_after_attendee_deletion()
S
60 2 13
remove_sale_price_data()
S
64 2 11
register_post_type()
S
56 1 19
get_price()
S
72 2 6
get_sale_price()
S
73 2 4
get_template()
S
64 2 10
update_global_stock()
S
66 2 9
get_price_html()
S
61 1 13
decrease_ticket_stock_by()
S
71 1 5
increase_ticket_stock_by()
S
74 1 4
get_related_event_id()
S
79 1 3
get_status_count_meta_key()
S
79 1 3
get_regular_price()
S
79 1 3
get_sale_price_details()
S
66 1 8